package com.xsir.ditan.miniprogram.service;

import com.xsir.ditan.miniprogram.common.Result;
import com.xsir.ditan.miniprogram.entity.GoodsDate;
import com.xsir.ditan.miniprogram.entity.OrderGoods;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xsir
 * @since 2021-02-09
 */
public interface IOrderGoodsService extends IService<OrderGoods> {
    
    Map<String, Object> getList();
    
    Result addFromMini(Integer uid, Integer goodsId, List<GoodsDate> dateList);
    
    Result listForMini(Integer uid, String status);
}
